package com.acoffee.java2;


/**
 * @author acoffee
 * @create 2021-11-09 21:47
 */
public class Frank {
    public static void main(String[] args) {
        Girl girl = new Rose();

        DynamicProxy proxyRose = new DynamicProxy(girl);

        Girl proxyInstance = (Girl) proxyRose.getProxyInstance();
        
        proxyInstance.date();
    }
}
